home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
source.exe
/
POSIX
/
BSDPSX
/
INDEX.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-24
|
158b
|
14 lines
/*
* Index: Not Posix. AOJ
*/
#include <stdio.h>
char *index (s, c)
char *s, c;
{
for ( ; *s && *s != c; s++ );
return *s ? s : NULL;
}